public class test {
    //使用递归求斐波那契数列
    public static int fei(int n){
        if(n==1||n==2){
            return 1;
        }
        return fei(n-1)+fei(n-2);
    }
    public static void main(String[] args) {
        System.out.println(fei(4));
    }
}
